module.exports = {
  title: '跟牛老师学webgis',
  description: '跟牛老师学webgis，学webgis不再走弯路！',
  lang: 'zh-CN',
  base: '/api/',
  dest: './dist',
  head: [
    [
      'link', { rel: 'icon', href: '/imgs/logo.png' },
      'link', { rel: 'stylesheet', href: '/lib/mapbox-gl.css' }
    ],
    [
      'script',  { src: '/lib/mapbox-gl.js' }
    ]
  ],
  markdown: {
    lineNumbers: true
  },
  themeConfig: {
    logo: '/css/imgs/logo.png',
    nav: [ // 导航栏配置
      {
        text: 'GIS基础',
        link: '/basic/'
      },
      {
        text: 'webgis框架',
        link: '/webgis/'
      },
      {
        text: '空间服务器',
        link: '/server/'
      },
      {
        text: '空间数据库',
        link: '/database/'
      },
      {
        text: '我的资源',
        items: [
          {text: '博客地址', link: 'https://lzugis.blog.csdn.net'},
          {text: 'gitee地址', link: 'https://gitee.com/lzugis15'}
        ]
      }
    ],
    sidebar: {
      '/basic/': [
        ''
      ],
      '/webgis/': [
        ''
      ],
      '/server/': [
        ''
      ],
      '/database/': [
        ''
      ]
    }, // 侧边栏配置
    sidebarDepth: 3 // 侧边栏显示2级
  }
}